Exclusive-OR gate
If the inputs on the Exclusive-OR gate are not equal, the output will be '1'.
Truth table:
Input 1
Input 2
Output
0
0
0
0
1
1
1
0
1
1
1
0
See also:
Logic family parts
Simulation of Digital ICs
Using electronics parts